﻿using BCDto.Common.SystemConfiguration;
using BCDto.TMS.Driver.SystemConfiguration;

namespace BCService.Common.SystemConfiguration
{
    /// <summary>
    /// 系统配置
    /// </summary>
    public interface ISystemConfigurationService
	{
		#region  成员方法
		/// <summary>
		/// 是否存在此记录
		/// </summary>
		/// <param name="systemsConfigurationId">系统配置Id</param>
		bool Exists(int systemsConfigurationId);
		/// <summary>
		/// 更新系统配置
		/// </summary>
		/// <param name="putDto">系统配置信息</param>
		SystemConfigurationDto Update(SystemConfigurationPutDto putDto);
		/// <summary>
		/// 获取系统配置
		/// </summary>
		SystemConfigurationDto Get();
		#endregion  成员方法

		#region 扩展方法
		/// <summary>
		/// 获取司机端系统配置
		/// </summary>
		/// <returns></returns>
		DriverAppSystemConfigurationDto GetDriverAppConfig();
		#endregion
	}
}
